import Vue from 'vue'
import Vuex from 'vuex'
// 导入user模块
import user from './modules/user.js'
Vue.use(Vuex)

export default new Vuex.Store({

   state: {},
  mutations: {},
  actions: {},
  getters: {},
  modules: {
    // 挂在user模块
    user
  }
})

